<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$webname}-CMS内容管理系统</title>
<load href='__PUBLIC__/Css/basic.css' />
<load href='__PUBLIC__/Css/index.css' />
<load href='__PUBLIC__/Css/list.css' />
<load href='__PUBLIC__/Css/reg.css' />
<load href='__PUBLIC__/Css/friendlink.css' />
<load href='__PUBLIC__/Js/reg.js' />
<load href='__PUBLIC__/Js/link.js' />

<load href='__PUBLIC__/Css/details.css' />
</head>
<body>

<div id="top">
	<if condition="$is_log eq true">
	{$name}，您好！ <a href="__APP__/User/logout">退出</a>
	<else />
	<a href="__APP__/User/register" class="user">注册</a> <a href="__APP__/User/login" class="user">登录</a>
	</if>
	<script type="text/javascript" src="__PUBLIC__/Js/text_adver.js"></script>
</div>
<div id="header">
	<h1><a href="###">{$webname}</a></h1>
	<div class="adver"><script type="text/javascript" src="__PUBLIC__/Js/header_adver.js"></script> </div>
</div>
<div id="nav">
	<ul>
		<li><a href="__APP__">首页</a></li>
		<volist name="nav" id="nav">
		<li><a href="__APP__/List/show/id/{$nav.id}">{$nav.category_name}</a></li>
		</volist>
	</ul>
</div>
<div id="search">
	<form method="get" action="__APP__/Search/show">
		<select name="type">
			<option selected="selected" value="title">按标题</option>
			<option value="keyword">按关键字</option>
		</select>
		<input type="text" name="inputkeyword" class="text" />
		<input type="submit" class="submit" value="搜索" />
	</form>
	<strong>TAG标签：</strong>
	<ul>
		<if condition="$tag">
		<volist name="tag" id="tag" >
		<li><a href="__APP__/Search/show/type/tag/inputkeyword/{$tag.tagname}">{$tag.tagname}({$tag.count})</a></li>
		</volist>
		</if>
	</ul>
</div>